package com.ytjj.qmyx.mall.model;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
public class Banners implements Serializable {
    /**
     * 广告表
     *
     * @mbg.generated
     */
    private Integer id;

    private Integer specialId;

    /**
     * 类型
     *
     * @mbg.generated
     */
    private String type;

    /**
     * 商品id/关联id
     *
     * @mbg.generated
     */
    private String productId;

    /**
     * 图片链接
     *
     * @mbg.generated
     */
    private String imgUrl;

    /**
     * 图片链接
     *
     * @mbg.generated
     */
    private String image;

    /**
     * 是否隐藏(1 显示  0隐藏)
     *
     * @mbg.generated
     */
    private Byte status;

    /**
     * 排序
     *
     * @mbg.generated
     */
    private Integer sort;

    /**
     * 背景颜色
     *
     * @mbg.generated
     */
    private String backgroundColor;

    /**
     * 备注
     *
     * @mbg.generated
     */
    private String remarks;

    /**
     * 跳转类型 内inner 外outer
     *
     * @mbg.generated
     */
    private String skipType;

    /**
     * 标题
     *
     * @mbg.generated
     */
    private String title;

    /**
     * 跳转路径
     *
     * @mbg.generated
     */
    private String aPath;

    /**
     * 跳转小程序AppID
     *
     * @mbg.generated
     */
    private String appid;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    private static final long serialVersionUID = 1L;


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", type=").append(type);
        sb.append(", productId=").append(productId);
        sb.append(", imgUrl=").append(imgUrl);
        sb.append(", status=").append(status);
        sb.append(", sort=").append(sort);
        sb.append(", backgroundColor=").append(backgroundColor);
        sb.append(", remarks=").append(remarks);
        sb.append(", skipType=").append(skipType);
        sb.append(", title=").append(title);
        sb.append(", aPath=").append(aPath);
        sb.append(", appid=").append(appid);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}